home *** CD-ROM | disk | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / .login.z / .login (.txt)
Text File  |  1992-04-03  |  660b  |  33 lines

  1. # root's csh login profile
  2. #
  3. # $Revision: 1.12 $
  4. #
  5.  
  6. # Set the interrupt character to Ctrl-c and do clean backspacing.
  7. if (-t 0) then
  8.     stty intr '^C' echoe 
  9. endif
  10.  
  11. # Set the TERM environment variable
  12. if ( -d /usr/lib/terminfo) then
  13.     # use text port intelligently
  14.     if ($?L0) then
  15.     if ("$L0" == NOGRAPHICS) set term="iris-tp"
  16.     endif
  17.     eval `tset -s -Q`
  18. endif
  19.  
  20. # save tty state in a file where wsh can find it
  21. if ((! -f $HOME/.wshttymode) && (-t 0)) then
  22.     stty -g > $HOME/.wshttymode
  23. endif
  24.  
  25. # Set the default X server.
  26. if ($?DISPLAY == 0) then
  27.     if ($?REMOTEHOST) then
  28.     setenv DISPLAY ${REMOTEHOST}:0
  29.     else
  30.     setenv DISPLAY :0
  31.     endif
  32. endif
  33.